package sy.service;

import sy.pageModel.DataGrid;
import sy.pageModel.OrderDrug;

public interface OrderDrugServiceI {
	
	public DataGrid datagrid(OrderDrug order) throws Exception;
	
	public DataGrid datagridForAccepted(OrderDrug order) throws Exception;

    public OrderDrug add(OrderDrug order) throws Exception;

    /**
     * 修改预约单状态
     * @param order
     * @return
     * @throws Exception
     */
    public OrderDrug edit(OrderDrug order) throws Exception;
    
    public OrderDrug getDrugItemsByOrderId(String orderId) throws Exception;
    
    public OrderDrug addDetails(OrderDrug order) throws Exception;

    /**
     * 保存预约单信息
     * @param order
     * @return
     */
    OrderDrug editDrugSave(OrderDrug order);

    /**
     * 取消预约单
     * @param order
     * @return
     */
    OrderDrug editOrderStatus(OrderDrug order);
}
